package com.dg.lecheng.api.user.repo;

import com.dg.lecheng.api.base.repo.ApiRepository;
import com.dg.lecheng.api.user.model.InfoUser;
import com.dg.lecheng.base.core.repo.CrudRepo;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 由MyBatis Generator工具自动生成，请不要手动修改
 */
@ApiRepository
public interface InfoUserDao extends CrudRepo<InfoUser, Integer> {
    public List<InfoUser> findByPhoneNumAndEmail(@Param("phoneNum") String phoneNum, @Param("email") String email, PageBounds pageBounds);


    public InfoUser getByUserName(@Param("userName") String userName);
}